from selenium.webdriver.common.by import By


class UserinfoLocator:

    userinfo_loc = (By.LINK_TEXT, "个人信息")
    preview_loc = (By.ID, "preview")
    frame_loc = (By.ID, 'layui-layer-iframe1')
    upload_file = (By.CSS_SELECTOR, '[id=filePicker] div:nth-child(2) > input')
    savebtn_loc = (By.CLASS_NAME, 'saveBtn')